package com.cyq.day07;

public class Test {
    public static void main(String[] args) {
        int[] ary={1,2,3,4,5,5,6,6,7};
        int[] ary1=ArrayUtil.add(ary,8);
        int[] ary2=ArrayUtil.delete(ary,0);
        int [] ary3=ArrayUtil.distinct(ary);
        for (int a:ary1
             ) {
            System.out.print(a+" ");
        }
        System.out.println();
        for (int a:ary2){
            System.out.print(a+" ");
        }
        System.out.println();
        for (int a:ary3
             ) {
            System.out.print(a+" ");
        }
    }
}
